/*
 * Copyright (c) 2014 laidian. All Rights Reserved.
 * 
 * @author yaoyuming
 * 
 * @date 2020-05-06 13:54
 */
package com.yao.fin.baidu;

/**
 * @author yaoyuming
 * @date 2020/05/06 13:54
 */
public class BaiduApiConst {

    /**
     * 百度云api获取token URL
     */
    public final static String AUTH_HOST = "https://aip.baidubce.com/oauth/2.0/token?";

    public final static String ACCESS_TOKEN_URL = AUTH_HOST + "grant_type=client_credentials&client_id=%s&client_secret=%s";

    public final static String API_KEY = "8ARLLrNLsc8csBPUfi5uEO64";
    public final static String SECRET_KEY = "PWlmtOsquuQb59AkpSsd8z72IDrOE0eN";

    /**
     * 通用识别文字
     */
    public final static String GENERAL_BASIC = "https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic";

    /**
     * 通用识别文字（高精度）
     */
    public final static String ACCURATE_BASIC = "https://aip.baidubce.com/rest/2.0/ocr/v1/accurate_basic";

}